3.16.61 \(\int (c+d x)^n \, dx\)

Optimal. Leaf size=18 \[ \frac {(c+d x)^{n+1}}{d (n+1)} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {32} \begin {gather*} \frac {(c+d x)^{n+1}}{d (n+1)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c + d*x)^n,x]

[Out]

(c + d*x)^(1 + n)/(d*(1 + n))

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rubi steps

\begin {align*} \int (c+d x)^n \, dx &=\frac {(c+d x)^{1+n}}{d (1+n)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 17, normalized size = 0.94 \begin {gather*} \frac {(c+d x)^{n+1}}{d n+d} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(c + d*x)^n,x]

[Out]

(c + d*x)^(1 + n)/(d + d*n)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.01, size = 0, normalized size = 0.00 \begin {gather*} \int (c+d x)^n \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(c + d*x)^n,x]

[Out]

Defer[IntegrateAlgebraic][(c + d*x)^n, x]

________________________________________________________________________________________

fricas [A]  time = 1.25, size = 20, normalized size = 1.11 \begin {gather*} \frac {{\left (d x + c\right )} {\left (d x + c\right )}^{n}}{d n + d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)^n,x, algorithm="fricas")

[Out]

(d*x + c)*(d*x + c)^n/(d*n + d)

________________________________________________________________________________________

giac [A]  time = 1.02, size = 18, normalized size = 1.00 \begin {gather*} \frac {{\left (d x + c\right )}^{n + 1}}{d {\left (n + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)^n,x, algorithm="giac")

[Out]

(d*x + c)^(n + 1)/(d*(n + 1))

________________________________________________________________________________________

maple [A]  time = 0.00, size = 19, normalized size = 1.06 \begin {gather*} \frac {\left (d x +c \right )^{n +1}}{\left (n +1\right ) d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x+c)^n,x)

[Out]

(d*x+c)^(n+1)/d/(n+1)

________________________________________________________________________________________

maxima [A]  time = 1.12, size = 18, normalized size = 1.00 \begin {gather*} \frac {{\left (d x + c\right )}^{n + 1}}{d {\left (n + 1\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)^n,x, algorithm="maxima")

[Out]

(d*x + c)^(n + 1)/(d*(n + 1))

________________________________________________________________________________________

mupad [B]  time = 0.38, size = 18, normalized size = 1.00 \begin {gather*} \frac {{\left (c+d\,x\right )}^{n+1}}{d\,\left (n+1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c + d*x)^n,x)

[Out]

(c + d*x)^(n + 1)/(d*(n + 1))

________________________________________________________________________________________

sympy [A]  time = 0.06, size = 20, normalized size = 1.11 \begin {gather*} \frac {\begin {cases} \frac {\left (c + d x\right )^{n + 1}}{n + 1} & \text {for}\: n \neq -1 \\\log {\left (c + d x \right )} & \text {otherwise} \end {cases}}{d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)**n,x)

[Out]

Piecewise(((c + d*x)**(n + 1)/(n + 1), Ne(n, -1)), (log(c + d*x), True))/d

________________________________________________________________________________________